package com.gy.paidao.main;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.gy.paidao.R;

/**
 * 作者：gy on 16/4/21
 * 说明：谷歌地图
 */
public class MapGoogleFragment extends BaseFragment {

    private View mRoot;


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        if (mRoot == null) {
            mRoot = inflater.inflate(R.layout.fg_google_map, null);
        }
        ViewGroup parent = (ViewGroup) mRoot.getParent();
        if (parent != null) {
            parent.removeView(mRoot);
        }


        return mRoot;
    }
}
